/**
 * 入口js
 */
import React from 'react';
import ReactDOM from 'react-dom';

import App from './App';

import storageUtils from './utils/storageUtils';
import memoryUtils from './utils/memoryUtils';

// 读取本地保存的user信息，保存到内存中
memoryUtils.user = storageUtils.getUser();


// 将App组件标签渲染到index页面的div上
ReactDOM.render(<App />,document.getElementById('root'));